package com.tx.admin.charartertag.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.tx.mysql.EntityChangeListener;
import java.time.LocalDateTime;

/**
* <p>
* 人物标签表
* </p>
*
* @author sz-admin
* @since 2025-05-04
*/
@Data
@Table(value = "tag", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "人物标签表")
public class ChararterTag implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description ="主键")
    private Long id;

    @Schema(description ="颜色")
    private String color;

    @Schema(description ="颜色中文名")
    private String colorName;

    @Schema(description ="标签文本")
    private String describe;

    @Schema(description ="备注")
    private String remark;

    @Schema(description ="标签类型 字典XXXX  0为人物，1为生活记录")
    private String tagType;

    @Schema(description ="")
    private LocalDateTime createTime;

    @Schema(description ="")
    private LocalDateTime updateTime;

    @Schema(description ="")
    private Long createId;

    @Schema(description ="")
    private Long updateId;

}